<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>在线添加武器</title>
		<link rel="stylesheet" type="text/css" href="js/设置/addbox1.css" />
		<script src="js/设置/wpall.json" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			window.onload = function() {
				var devicewidth = document.documentElement.clientWidth;
				var scale = devicewidth / 1920;
				document.body.style.zoom = scale;
				a1();
			}
			window.onresize = function () {
				var devicewidth = document.documentElement.clientWidth;
				var scale = devicewidth / 1920;
				document.body.style.zoom = scale;
			}

			function a1() {
				var K = 0;
				var myfun = new Array('js507', 'js523', 'js515', 'js508', 'js500', 'js519', 'js522', 'js525', 'js512', 'js505',
		'js520', 'js506', 'js514', 'js509', 'js516', 'js503', 'js521', 'js517', 'js518', 'js7', 'js60', 'js16',
		'js9', 'js10', 'js8', 'js40', 'js13', 'js39', 'js11', 'js38', 'js4', 'js61', 'js30', 'js63', 'js1', 'js2',
		'js3', 'js64', 'js32', 'js36', 'js23', 'js19', 'js33', 'js34', 'js26', 'js24', 'js17', 'js23', 'js19',
		'js33', 'js34', 'js26', 'js24', 'js17', 'js29', 'js25', 'js35', 'js27', 'js14', 'js28', 'js5027', 'js5031',
		'js5033', 'js5034', 'js5030', 'js5032', 'js5035', 'js4725', 'js非凡', 'js非凡2', 'js非凡3','js奇异', 'js奇异2',
		'js奇异3','js高级', 'js高级2', 'js高级3', 'js高级4', 'js高级5', 'js高级6', 'js高级7', 'js布章', 'js探员', 'js箱子', 'js音乐盒',
		'js胸章', 'js涂鸦', 'js标签', 'js工具', 'js穿越火线', 'js恶搞自己', 'js恶搞队友', 'js快捷无线电', );
				var i = myfun.length
				for (var x = 0; x < i; x++) {
					let a = eval('(' + myfun[x] + ')').Array;
					let e = eval('(' + myfun[x] + ')').name;
					let b = a.length;
					var c = Number(b);
					for (var z = 0; z < c; z++) {
						let f = eval('(' + myfun[x] + ')').Array[z];
						document.getElementById('wpnamealla').innerHTML += "<p>" + e + "&nbsp|&nbsp" + f + "</p>";
						var K = K + 1;
					}
				}
				document.getElementById("hearxlefta").innerHTML = K;
			}

			function selectx() {
				document.getElementById("wpnamealla").innerHTML = "";
				var l = document.getElementById('hearxinput').value;
				if (l == '') {
					a1();
				}
				let m = l.split('');
				var arr = new Array;
				var myfun = new Array('jsonzzd', 'jsonjczd', 'jsonhdd', 'jsonm9cd', 'jsoncd', 'jsonxd', 'jsondj','jsonwd', 'jsonklbs', 'jsonM4A4', 'jsonAK47', 'jsonXYM4', 'jsonAWP',
					'jsonAUG', 'jsonSSG08', 'jsonSG553', 'jsonFMS', 'jsonSMZY', 'jsonUSP', 'jsonGLK', 'jsonFN57', 'jsonR8', 'jsonMAC10', 'jsonUMP45', 'jsonMP5SD', 'jsonNGF',
					'jsonYDST', 'jsonZYST', 'jsonJSST', 'jsonMTST', 'jsonGS', 'jsonzhandui', 'jsonqianming', 'json英雄武器', 'json显示作弊', 'json队友恶搞', 'json快捷无线电');
				var i = myfun.length
				for (var x = 0; x < i; x++) {
					let a = eval('(' + myfun[x] + ')').Array;
					let e = eval('(' + myfun[x] + ')').name;
					let b = a.length;
					var c = Number(b);
					for (var z = 0; z < c; z++) {
						let f = eval('(' + myfun[x] + ')').Array[z];
						let p = e + f;
						let o = p.split('');
						for (var n = 0; n < o.length; n++) {
							for (var q = 0; q < l.length; q++) {
								if (o[n] == m[q]) {
									
									arr.push("<p>" + e + "&nbsp|&nbsp" + f + "</p>")
								}
							}
						}
					}
				}
				var newArr = unique(arr);
				for(var q = 0; q < newArr.length; q++){
					document.getElementById('wpnamealla').innerHTML += newArr[q];
				}
				if(newArr=='')
					document.getElementById('wpnamealla').innerHTML += '<a style="font-size: 25px;color: white;">暂无此物品！</a>';
			}
			function unique(arr){
			    var newArr = [];
			    for(var i = 0; i < arr.length; i++){
			        for(var j = i+1; j < arr.length; j++){
			            if(arr[i] == arr[j]){
			                ++i;
			            }
			        }
			        newArr.push(arr[i]);
			    }
			    return newArr;
			}
			function QQ(){
				window.open("http://wpa.qq.com/msgrd?v=3&uin=1340145680&site=qq&menu=yes"); 
			}
		</script>
	</head>
	<body>
		<div id="hearxleft">
			<a>目前有</a><a id='hearxlefta' style="font-size: 25px;margin: 15px;color: #00ff7f;">none</a><a>个物品</a>
		</div>
		<div id="hearx">
			<a>搜索已有：</a><input type="text" id="hearxinput" placeholder="搜索....">
			<button id="test1" type="button" onclick="selectx()">搜索</button>
		</div>
		<div id="hearxright">
			<a>在线添加</a><button id="test1" type="button" onclick="QQ()">站长QQ</button>
		</div>
		<div id="wpnameallleft">
			<div id="left1"><a>留言添加</a></div><iframe id="addshimo" src="https://shimo.im/forms/v8Tv9xRtGKwdtPPD/fill"frameborder="0" width="400" height="1015" scrolling='no'></iframe>
		</div>
		<div id="wpnameall">
			<div id="wpnamealla">
			</div>
		</div>
		<div id="wpnameallright">
			<a style="color: white;">暂无内容，敬请期待</a>
		</div>
		<div class="topnav">
			<a class="active" href="https://act_meteor.rth1.me/">主页</a>
			<a href="https://music.163.com/#/song?id=1463458838">主页音乐</a>
			<a href="https://act_meteor.rthe.xyz/csgobox.html">开箱生成</a>
			<a href="https://act_meteor.rthe.xyz/about.html">关于</a>
			<input type="text" placeholder="搜索..">
		</div>
	</body>
</html>
